package {
	
	import com.fellong.flash.flar.view.FlarBasicView;
	
	/// FlarDetector Demo: a simple cube.
	public class FlarCubeDemo extends FlarBasicView
	{
		public function FlarCubeDemo()
		{
			super();

			// initialize FlarObject
			var cube:FlarCube = new FlarCube();
			cube.detector.loadCode( 'Data/cube16_100_up.pat',16,100 );
			this.scene.addChild( cube );

			this.scaleX = this.scaleY = 2;
			startRendering();
		}

	}
}